package com.example.datastructuresandalgorithms.bean;

import com.google.gson.annotations.SerializedName;

/**
 * 创建日期：2023/2/7 0:01
 *
 * @author 唐门.西门吹雪
 * 类说明：
 */
//@lombok.NoArgsConstructor
//@lombok.Data
public class Bean2 {


    @SerializedName("Type")
    private Integer type;
    @SerializedName("Result")
    private ResultDTO result;
    @SerializedName("Data")
    private DataDTO data;

//    @lombok.NoArgsConstructor
//    @lombok.Data
    public static class ResultDTO {
        @SerializedName("State")
        private String state;
        @SerializedName("Msg")
        private String msg;

    @Override
    public String toString() {
        return "ResultDTO{" +
                "state='" + state + '\'' +
                ", msg='" + msg + '\'' +
                '}';
    }
}

//    @lombok.NoArgsConstructor
//    @lombok.Data
    public static class DataDTO {
        @SerializedName("1")
        private Integer $1;
        @SerializedName("2")
        private Integer $2;
        @SerializedName("3")
        private String $3;
        @SerializedName("4")
        private Long $4;
        @SerializedName("5")
        private Integer $5;
        @SerializedName("6")
        private Integer $6;
        @SerializedName("7")
        private Double $7;

    @Override
    public String toString() {
        return "DataDTO{" +
                "$1=" + $1 +
                ", $2=" + $2 +
                ", $3='" + $3 + '\'' +
                ", $4=" + $4 +
                ", $5=" + $5 +
                ", $6=" + $6 +
                ", $7=" + $7 +
                '}';
    }
}

    @Override
    public String toString() {
        return "Bean2{" +
                "type=" + type +
                ", result=" + result +
                ", data=" + data +
                '}';
    }
}
